package com.dmbjz.actuator.controller;


import com.dmbjz.actuator.service.MetricService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @Resource
    private MetricService metricService;

    @RequestMapping("getHello")
    public String getHelloInfo() {
        metricService.hello();
        return "我是结果";
    }

}
